package cn.com.xuhx.mybatisplugs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuhx
 * @since 2022-03-27
 */
@TableName("T_USERS")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 地址
     */
    private String address;

    /**
     * 手机号
     */
    private String tel;

    /**
     * 身份证号
     */
    private String sfzh;

    /**
     * 出生日期
     */
    private LocalDate bornDay;

    /**
     * 删除状态
     */
    private Integer delStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
    public String getSfzh() {
        return sfzh;
    }

    public void setSfzh(String sfzh) {
        this.sfzh = sfzh;
    }
    public LocalDate getBornDay() {
        return bornDay;
    }

    public void setBornDay(LocalDate bornDay) {
        this.bornDay = bornDay;
    }
    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    @Override
    public String toString() {
        return "Users{" +
            "id=" + id +
            ", name=" + name +
            ", age=" + age +
            ", address=" + address +
            ", tel=" + tel +
            ", sfzh=" + sfzh +
            ", bornDay=" + bornDay +
            ", delStatus=" + delStatus +
        "}";
    }
}
